package com.zhw.service;

import com.zhw.pojo.Emp;
import com.zhw.pojo.PageBean;

import java.time.LocalDate;

public interface EmpService {

    PageBean getAll(Integer page, Integer pagesize, String name, Integer gender, LocalDate begin, LocalDate end);

    void delete(int[] ids);

    void insert(Emp emp);

    void update(Emp emp);

    Emp selectById(Integer id);

    Emp login(Emp emp);
}
